package cn.iocoder.yudao.module.system.controller.admin.mini.userInfo.user.controller.admin.user.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 小程序-用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "id", example = "25244")
    private String id;

    @Schema(description = "openId", example = "25244")
    private String openId;

    @Schema(description = "昵称", example = "赵六")
    private String nickName;

    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "邮箱")
    private String mail;

    @Schema(description = "是否开通vip(1是2否)")
    private Integer isVip;

    @Schema(description = "vip开通时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] vipTime;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "搜索记录")
    private String searchs;

    @Schema(description = "会员码")
    private String vipCode;

    @Schema(description = "抵扣金额", example = "12467")
    private BigDecimal deductionPrice;

}
